# 形参中的位置参数,从左至右依次定义.这种参数必须赋值,未赋值则报错.
def func1(a, b, c, d):
    print(a, b, c, d)


func1(1, 2, 3, 4)

# 结论: 形参中的位置参数,必须每一个参数都接收到实参否则报错
# TypeError: func1() missing 1 required positional argument: 'd'
# func1(1, 2, 3)
# TypeError: func1() takes 4 positional arguments but 5 were given
# func1(1, 2, 3, 4, 5)
